package com.his.patiinfobasic.vo;

import com.his.patiinfobasic.entity.PatiinfobasicContactor;
import com.his.patiinfobasic.entity.Patiinfocard;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;

/**
 * @Author zhangxiong
 * @Date 2020/3/1011:26
 * @Version 1.0
 */
@Data
public class PatiinfocardVo {

    /**
     *
     * null
     *
     * @mbggenerated
    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotEmpty(message = "系统配置类型编码不能为空")
    private String patiname;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotEmpty(message = "系统配置类型编码不能为空")
    private String sexid;

    /**
     *
     * null
     *
     * @mbggenerated
     */

    private String sexname;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotEmpty(message = "系统配置类型编码不能为空")
    private Date birthdate;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String occupationid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String occupationname;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String regilocid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String regilocname;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String marriedid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String countryid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String countryname;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String nativeplaceid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String nativeplacename;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String nationalityid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String nationalityname;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String outPatiid;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String id2;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String id3;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String infoFrom;

    /**
     *
     * 家庭地址
     *
     * @mbggenerated
     */
    private String familyaddr;

    /**
     *
     * 单位名称
     *
     * @mbggenerated
     */
    private String entname;

    /**
     *
     * 单位地址
     *
     * @mbggenerated
     */
    private String entaddr;

    /**
     *
     * 病人联系电话
     *
     * @mbggenerated
     */
    private String telenum;

    /**
     *
     * 创建时间
     *
     * @mbggenerated
     */
    private Date createdate;

    /**
     *
     * 修改者
     *
     * @mbggenerated
     */
    private String updaterid;

    /**
     *
     * 创建者
     *
     * @mbggenerated
     */
    private String createrid;

    /**
     *
     * 修改时间
     *
     * @mbggenerated
     */
    private Date updatedate;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotEmpty(message = "系统配置类型编码不能为空")
    private String hospid;


    private String createrName;

    /**
     *
     * 修改人姓名
     *
     * @mbggenerated
     */
    private String updaterName;

    List<PatiinfobasicContactor> contactorList ;
    List<Patiinfocard> patiinfocardList;

}
